<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libslic3r: Slic3r::BridgeDetector Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="Slic3r_192px_transparent.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">libslic3r
   </div>
   <div id="projectbrief">Library for generating gcode from 3d models</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_slic3r.html">Slic3r</a></li><li class="navelem"><a class="el" href="class_slic3r_1_1_bridge_detector.html">BridgeDetector</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_slic3r_1_1_bridge_detector-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Slic3r::BridgeDetector Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_bridge_detector_8hpp_source.html">BridgeDetector.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad726446e8e32f075854435359492376f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#ad726446e8e32f075854435359492376f">BridgeDetector</a> (const <a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;_expolygon, const <a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a> &amp;_lower_slices, <a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> _extrusion_width)</td></tr>
<tr class="separator:ad726446e8e32f075854435359492376f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbdfe1a5e3a7aebd7dbafd7f8df46afb"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#acbdfe1a5e3a7aebd7dbafd7f8df46afb">detect_angle</a> ()</td></tr>
<tr class="separator:acbdfe1a5e3a7aebd7dbafd7f8df46afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb5688a50b301a3725b969aa4753a57c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#acb5688a50b301a3725b969aa4753a57c">coverage</a> () const</td></tr>
<tr class="separator:acb5688a50b301a3725b969aa4753a57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5564ca257813d631b75a2025f1964210"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#a5564ca257813d631b75a2025f1964210">coverage</a> (double <a class="el" href="class_slic3r_1_1_bridge_detector.html#acfae4e052886fd1f0e25eeb4441a531a">angle</a>) const</td></tr>
<tr class="separator:a5564ca257813d631b75a2025f1964210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0e4cd5056c1c06a325d98be1e11eadd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Polylines</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#aa0e4cd5056c1c06a325d98be1e11eadd">unsupported_edges</a> (double <a class="el" href="class_slic3r_1_1_bridge_detector.html#acfae4e052886fd1f0e25eeb4441a531a">angle</a>=-1) const</td></tr>
<tr class="separator:aa0e4cd5056c1c06a325d98be1e11eadd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a125092fbdf644b7e2aca67794c7603d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#a125092fbdf644b7e2aca67794c7603d2">expolygon</a></td></tr>
<tr class="memdesc:a125092fbdf644b7e2aca67794c7603d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The non-grown hole.  <a href="#a125092fbdf644b7e2aca67794c7603d2">More...</a><br /></td></tr>
<tr class="separator:a125092fbdf644b7e2aca67794c7603d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ff570060a63482d1043a00664085bca"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#a8ff570060a63482d1043a00664085bca">lower_slices</a></td></tr>
<tr class="memdesc:a8ff570060a63482d1043a00664085bca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lower slices, all regions.  <a href="#a8ff570060a63482d1043a00664085bca">More...</a><br /></td></tr>
<tr class="separator:a8ff570060a63482d1043a00664085bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addc71fb7632124d7df9926dbffca00f3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#addc71fb7632124d7df9926dbffca00f3">extrusion_width</a></td></tr>
<tr class="memdesc:addc71fb7632124d7df9926dbffca00f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scaled extrusion width of the infill.  <a href="#addc71fb7632124d7df9926dbffca00f3">More...</a><br /></td></tr>
<tr class="separator:addc71fb7632124d7df9926dbffca00f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa50125dca65906a7567fcc04e56baf9f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#aa50125dca65906a7567fcc04e56baf9f">resolution</a></td></tr>
<tr class="memdesc:aa50125dca65906a7567fcc04e56baf9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Angle resolution for the brute force search of the best bridging angle.  <a href="#aa50125dca65906a7567fcc04e56baf9f">More...</a><br /></td></tr>
<tr class="separator:aa50125dca65906a7567fcc04e56baf9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfae4e052886fd1f0e25eeb4441a531a"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_slic3r_1_1_bridge_detector.html#acfae4e052886fd1f0e25eeb4441a531a">angle</a></td></tr>
<tr class="memdesc:acfae4e052886fd1f0e25eeb4441a531a"><td class="mdescLeft">&#160;</td><td class="mdescRight">The final optimal angle.  <a href="#acfae4e052886fd1f0e25eeb4441a531a">More...</a><br /></td></tr>
<tr class="separator:acfae4e052886fd1f0e25eeb4441a531a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad726446e8e32f075854435359492376f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad726446e8e32f075854435359492376f">&#9670;&nbsp;</a></span>BridgeDetector()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Slic3r::BridgeDetector::BridgeDetector </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> &amp;&#160;</td>
          <td class="paramname"><em>_expolygon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a> &amp;&#160;</td>
          <td class="paramname"><em>_lower_slices</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a>&#160;</td>
          <td class="paramname"><em>_extrusion_width</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acb5688a50b301a3725b969aa4753a57c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb5688a50b301a3725b969aa4753a57c">&#9670;&nbsp;</a></span>coverage() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> Slic3r::BridgeDetector::coverage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5564ca257813d631b75a2025f1964210"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5564ca257813d631b75a2025f1964210">&#9670;&nbsp;</a></span>coverage() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ac070ff2d90c6488a48adf1814cdae06c">Polygons</a> Slic3r::BridgeDetector::coverage </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acbdfe1a5e3a7aebd7dbafd7f8df46afb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acbdfe1a5e3a7aebd7dbafd7f8df46afb">&#9670;&nbsp;</a></span>detect_angle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Slic3r::BridgeDetector::detect_angle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa0e4cd5056c1c06a325d98be1e11eadd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa0e4cd5056c1c06a325d98be1e11eadd">&#9670;&nbsp;</a></span>unsupported_edges()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#a498065f79ccb865fc410d4afeacffc9c">Polylines</a> Slic3r::BridgeDetector::unsupported_edges </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em> = <code>-1</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Return the bridge edges that are not currently supported but would permit use of the supplied bridge angle if it was supported.</p>
<p>This method returns the bridge edges (as polylines) that are not supported but would allow the entire bridge area to be bridged with detected angle if supported too </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="acfae4e052886fd1f0e25eeb4441a531a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfae4e052886fd1f0e25eeb4441a531a">&#9670;&nbsp;</a></span>angle</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::BridgeDetector::angle</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The final optimal angle. </p>

</div>
</div>
<a id="a125092fbdf644b7e2aca67794c7603d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a125092fbdf644b7e2aca67794c7603d2">&#9670;&nbsp;</a></span>expolygon</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_ex_polygon.html">ExPolygon</a> Slic3r::BridgeDetector::expolygon</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The non-grown hole. </p>

</div>
</div>
<a id="addc71fb7632124d7df9926dbffca00f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#addc71fb7632124d7df9926dbffca00f3">&#9670;&nbsp;</a></span>extrusion_width</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_slic3r.html#ab6d77625bc973b0c03e577944f90f297">coord_t</a> Slic3r::BridgeDetector::extrusion_width</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Scaled extrusion width of the infill. </p>

</div>
</div>
<a id="a8ff570060a63482d1043a00664085bca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ff570060a63482d1043a00664085bca">&#9670;&nbsp;</a></span>lower_slices</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_slic3r_1_1_ex_polygon_collection.html">ExPolygonCollection</a> Slic3r::BridgeDetector::lower_slices</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lower slices, all regions. </p>

</div>
</div>
<a id="aa50125dca65906a7567fcc04e56baf9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa50125dca65906a7567fcc04e56baf9f">&#9670;&nbsp;</a></span>resolution</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Slic3r::BridgeDetector::resolution</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Angle resolution for the brute force search of the best bridging angle. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/libslic3r/<a class="el" href="_bridge_detector_8hpp_source.html">BridgeDetector.hpp</a></li>
<li>src/libslic3r/<a class="el" href="_bridge_detector_8cpp.html">BridgeDetector.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
